﻿using System;

class CompanyManager
{
    static void Main()
    {
        //Exercise 3.
        //A company has name, address, phone number, fax number, web site and manager. The manager has first name, last name, age 
        //and a phone number. Write a program that reads the information about a company and its manager and prints them on the console.

        Console.Write("Enter company name: ");
        string companyName = Console.ReadLine();

        Console.Write("Enter company address: ");
        string companyAddress = Console.ReadLine();

        Console.Write("Enter company phone number: ");
        string comanyPhone = Console.ReadLine();

        Console.Write("Enter company fax number: ");
        string fax = Console.ReadLine();

        Console.Write("Enter company website: ");
        string website = Console.ReadLine();
        Console.WriteLine();

        Console.Write("Enter manager's first name: ");
        string firstname = Console.ReadLine();

        Console.Write("Enter manager's last name: ");
        string lastname = Console.ReadLine();

        Console.Write("Enter manager's age: ");
        uint age = uint.Parse(Console.ReadLine());

        Console.Write("Enter manager's phone number: ");
        string managerPhone = Console.ReadLine();
        Console.WriteLine();

        Console.WriteLine("{0,-20} | {1,-10} {2,-10}", companyName, firstname, lastname);
        Console.WriteLine("{0,-20} | {1,-5}",companyAddress,age);        
        Console.WriteLine("{0,-20:000 00 00} | {1,-10:000 00 00}", comanyPhone,managerPhone);        
        Console.WriteLine("{0,-20:000 00 00}", fax);
        Console.WriteLine(website);
        Console.WriteLine();
      
    }
}

